package map;

import java.util.HashMap;
import java.util.Map;

public class MapDemo1 {
    public static void main(String[] args){
        Map<String,Integer> map=new HashMap<>();
        map.put("张三",100);
        map.put("李四",67);
        map.put("赵五",56);
        System.out.println(map);
        map.put("张三",45);
        System.out.println(map);
        Integer value=map.put("李四",6);
        System.out.println(value);
        System.out.println(map);
    }

}
